import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '切坡高',
    align: "center",
    dataIndex: 'cutSlopeHeight_dictText'
  },
  {
    title: '坡墙距',
    align: "center",
    dataIndex: 'slopeWallDistance_dictText'
  },
  {
    title: '自然斜坡坡度',
    align: "center",
    dataIndex: 'naturalSlopeGradient_dictText'
  },
  {
    title: '切坡类型',
    align: "center",
    dataIndex: 'slopeType_dictText'
  },
  {
    title: '切坡子类型',
    align: "center",
    dataIndex: 'type1_dictText'
  },
  {
    title: '具体措施',
    align: "center",
    dataIndex: 'detail'
  },
  {
    title: '具体图集',
    align: "center",
    dataIndex: 'image'
  },
];

// 高级查询数据
export const superQuerySchema = {
  cutSlopeHeight: {title: '切坡高',order: 0,view: 'list', type: 'string',dictCode: 'cut_slope_height',},
  slopeWallDistance: {title: '坡墙距',order: 1,view: 'list', type: 'string',dictCode: 'slope_wall_distance',},
  naturalSlopeGradient: {title: '自然斜坡坡度',order: 2,view: 'list', type: 'string',dictCode: 'natural_slope_gradient',},
  slopeType: {title: '切坡类型',order: 3,view: 'list', type: 'string',dictCode: 'slope_type',},
  type1: {title: '切坡子类型',order: 4,view: 'list', type: 'string',dictCode: '',},
  detail: {title: '具体措施',order: 5,view: 'text', type: 'string',},
  image: {title: '具体图集',order: 6,view: 'link_table', type: 'string',},
};
